﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Data;
namespace Xqsys.BLL
{
    public class LeaveWork
    {
        public bool AddLeaveWord(MODEL.LeaveWords leaveWord)
        {
            return new DAL.LeaveWork().AddLeaveWord(leaveWord);
        }
        public bool DeleteLeaveWord(int LWid)
        {
            return new DAL.LeaveWork().DeleteLeaveWord(LWid);
        }
        public bool UpdateLeaveWord(int LWid)
        {
            return new DAL.LeaveWork().UpdateLeaveWord(LWid);
        }
        public DataSet SelecteLeaveWord(int LWid)
        {
            return new DAL.LeaveWork().SelecteLeaveWord(LWid);
        }
        public DataSet SelectAllWord(int pageIndex, int pageSize, out int num, string returnstring)
        {
            return new DAL.LeaveWork().SelectAllWord( pageIndex, pageSize,out num, returnstring);
        }
    } 
}
